package com.homework.gateway.client;

import com.homework.util.ResultMsg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="api-user")
public interface UserFeignClient {
    @RequestMapping(value="/api/user/info/{token}")
    public ResultMsg info(@PathVariable("token") String token);
}
